<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/review.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery/jquery.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/js/system/common.js"></script>

    <script>
        $(function(){
            //评论
            $("._j_comment").click(function(){

            })

            //顶：点赞
            $(".icon-ding").click(function () {

                var tid = $(this).data("tid");
                $.get("/mine/travelThumbup", {tid:tid}, function (data) {
                    if(data.success){
                        $(".support_num").html(data.data.thumbsupnum);
                        popup("点赞成功"); //

                    }else{
                        if(data.code == 102){
                            popup(data.msg);
                        }else{
                            popup("今天你已经赞过了"); //
                        }

                    }
                });
            })
        })

    </script>
</head>

<body style="position: relative;">
    <#include "../common/navbar2.ftl">
    <#assign currentNav="review">
    <#include "../common/main.ftl">
    <div class="main">
        <div class="wrapper">
            <div class="line-main">
                <div class="reviews-nums pad_left" id="_j_topfilter">
                    <ul class="clearfix">
                        <li class="num-gold _j_filter" data-filter="2">
                            <a role="button">
                                <i class="icon-gold"></i><b>0</b><br>金牌点评<span class="split"></span>
                            </a>
                        </li>
                        <li class="num-reviews _j_filter on" data-filter="0">
                            <a role="button">
                                <b>${vo.replynum!}</b><br>点评<span class="split"></span>
                            </a>
                        </li>
                        <li class="num-ding _j_filter" data-filter="1">
                            <a role="button" href="javascript:;" data-tid="${vo.travelId!}">
                                <b>${vo.thumbsupnum!}</b><br><i class="icon-ding"></i>点赞<span class="split"></span>
                            </a>
                        </li>
                        <li class="num-notReviews _j_filter" data-filter="3">
                            <a role="button">
                                <b>0</b><br>未点评<span class="split"></span>
                            </a>
                        </li>
                    </ul>
                    <!-- <div class="btn_review"><a href="javascript:;" target="_blank">写点评</a></div> -->
                </div>

                <div class="reviews-list">
                    <div id="_j_poilist">
                        <#list ts as t>
                        <div class="poi-item  have _j_poiitem _j_poiitem_5422742 _j_commentitem_191713354"
                            data-lng="98.2974353" data-lat="8.0902522" data-typeid="3" data-itemid="191713354">
                            <span class="cover">
                                <a href="/travel/detail?id=${t.id!}" target="_blank"><img src="${t.coverUrl!}" style="width: 120px;height: 120px;"></a>
                            </span>
                            <div class="poi-detail">
                                <span class="s-ding">
                                    <a class="icon-ding disabled"></a>
                                    <span class="_j_dingnum hide">0</span>
                                </span>
                                <h3 class="title"><a href="/travel/detail?id=${t.id!}"
                                        target="_blank">${t.title}<br><span>${t.summary}</span></a></h3>
                                <div class="rating" data-star="3" data-originstar="3">
                                    <div class="review-score" data-japp="comment_dialog" data-jappconf="path"
                                        data-source="24" data-poi_id="5422742" data-commentid="191713354"
                                        data-typeid="3">
                                        <span class="star3"></span>
                                    </div>
                                    <div class="info">
                                        <span class="tip" style="margin-left:0">一般般</span>

                                        <span>公共服务3</span>
                                        <span>风光3</span> <span>当地特色3</span>
                                    </div>
                                </div>

                                <div class="poi-rev _j_comment">

                                </div>

                            </div>
                            <div class="poi-btns">
                                <div class="option" id="_j_pluplader_btn_container_1">
                                    <a class="btn-addPhoto _j_addimg" data-poiid="5422742" data-poiname="斯里纳斯国家海洋公园"
                                        data-commentid="191713354" role="button" title="添加图片"
                                        style="position: relative;"></a> <a class="btn-modfiy"
                                        data-japp="comment_dialog" data-jappconf="path" role="button" data-source="24"
                                        data-poi_id="5422742" data-commentid="191713354" data-typeid="3" title="编辑"></a>
                                    <div id="html5_1dbk80mdq6b91fgd1jsjo0999e3_container"
                                        class="moxie-shim moxie-shim-html5"
                                        style="position: absolute; top: 0px; left: 0px; width: 21px; height: 18px; overflow: hidden; z-index: -1;">
                                        <input id="html5_1dbk80mdq6b91fgd1jsjo0999e3" type="file"
                                            style="font-size: 999px; opacity: 0; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
                                            multiple="" accept="image/jpeg,image/gif,image/png,.JPEG"></div>
                                </div>
                            </div>
                            <div class="poi-btns">
                                <span class="time">${(t.createTime?string("yyyy-MM-dd HH:mm:ss"))!}</span> </div>
                            <div class="reply hide">
                                <ul>

                                </ul>
                                <div class="more _j_morereply hide"><a>还有-2条回复</a></div>
                                <div class="add _j_editreply hide">
                                    <textarea></textarea>
                                    <div>
                                        <a class="btn btn-cancel _j_cancel">取消</a>
                                        <a class="btn btn-submit _j_sunmitreply" data-commentid="191713354">回复</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        </#list>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <#include "../common/footer.ftl"/>
    <div class="mfw-toolbar" id="_j_mfwtoolbar" style="display: block;">
        <div class="toolbar-item-top" style="display: none;">
            <a role="button" class="btn _j_gotop">
                <i class="icon_top"></i>
                <em>返回顶部</em>
            </a>
        </div>
        <div class="toolbar-item-feedback">
            <a role="button" data-japp="feedback" class="btn">
                <i class="icon_feedback"></i>
                <em>意见反馈</em>
            </a>
        </div>
        <div class="toolbar-item-code">
            <a role="button" class="btn">
                <i class="icon_code"></i>
            </a>
            <a role="button" class="mfw-code _j_code">


                <img src="https://p1-q.mafengwo.net/s1/M00/6C/51/wKgIC1t_6TuASybrAADGUPUHjr021.jpeg?imageMogr2%2Fthumbnail%2F%21450x192r%2Fgravity%2FCenter%2Fcrop%2F%21450x192%2Fquality%2F90"
                    width="450" height="192">
            </a>
            <!--<div class="wx-official-pop"><img src="http://images.mafengwo.net/images/qrcode-weixin.gif"><i class="_j_closeqrcode"></i></div>-->
        </div>

    </div>
</body>

</html>